export default 1;

async function fun1(p: string) {
	console.log('开始休息');
	await sleep();
	console.log('完成休息');
	return 0;
}

function sleep() {
	return new Promise<void>((res) => {
		setTimeout(() => {
			console.log('休息时间到');
			res();
		}, 10000);
	});
}
